package pers.cz.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pers.cz.model.DatabaseDesign;
import pers.cz.model.DatabaseDesignExample;

public interface DatabaseDesignMapper {
    int countByExample(DatabaseDesignExample example);

    int deleteByExample(DatabaseDesignExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DatabaseDesign record);

    int insertSelective(DatabaseDesign record);

    List<DatabaseDesign> selectByExample(DatabaseDesignExample example);

    DatabaseDesign selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DatabaseDesign record, @Param("example") DatabaseDesignExample example);

    int updateByExample(@Param("record") DatabaseDesign record, @Param("example") DatabaseDesignExample example);

    int updateByPrimaryKeySelective(DatabaseDesign record);

    int updateByPrimaryKey(DatabaseDesign record);

    List<DatabaseDesign> selectAllByUserId(Integer userId);
}
